package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.domian.Category;
import com.itheima.reggie.domian.Dish;
import com.itheima.reggie.dto.DishDto;

import java.util.List;

/**
 * @author 何须浅碧深红色
 * @date 2022/9/11
 */
public interface DishService extends IService<Dish> {
    public void dishWithFlavor(DishDto dishDto);
    public DishDto getDishByIdWithFlavor(Long id);
    public R<Page> selectAll(int page, int pageSize, String name);
    public void updateWithFlavor(DishDto dishDto);
    public void delete(List<Long> ids);
    public R<List<DishDto>> findwithFlavor(Dish dish);
}
